
<button class="btn btn-primay" (click)="addCarousel()">新增</button>

<table class="table">
    <thead class="thead-dark">
      <tr>
        <th scope="col">#</th>
        <th scope="col">标题</th>
        <th scope="col">描述</th>
        <th scope="col">图片</th>
        <th>操作</th>
      </tr>
    </thead>
    <tbody>
      <tr *ngFor="let c of cl" >
        <th scope="row">1</th>
        <td>{{c.title}}</td>
        <td>{{c.discription}}</td>
        <td>
            <img src="{{c.pic}}" width="200" height="200"/>
        </td>

        <td>
<button class="btn btn-warning">修改</button>
<button class="btn btn-danger">删除</button>
        </td>
      </tr>
      
    </tbody>
  </table>